﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Linq;
using System.Reflection;

namespace XCommunity.Frames
{
  public class CommunityStructure
  {

    private static readonly XNamespace xcommunity = "http://newfx.org/XCommunity/1.0";

    internal void LoadConfig( XDocument configDocument )
    {

      foreach ( XElement boardConfigElement in configDocument.Root.Elements( xcommunity + "Board" ) )
      {
        Type boardType = Type.GetType( boardConfigElement.Attribute( xcommunity + "Type" ).Value );


        BoardFrame boardFrame;

      }


    }
  }
}
